[#import "/framework/JGP.htm"  as JGP]
<!--
项目   glSystem
作者   fdp
时间   2018/8/2
-->
[@JGP.head "Title"/]
[@JGP.body]
<jgp-div _row="['*','*']" _runit="px" _aux="true">
    <jgp-form slot="1-1" _action="/glMeeting/relationTableApiController/addRelationTable" _method="POST"  _id="addRelationTable">
        <jgp-hidden  _col="12" _label="隐藏参会人id:" _name="usersID" _value='${usersID}'></jgp-hidden>
        <jgp-drop _label="会议" _name="meetingID"
                  _url="/glMeeting/relationTableApiController/queryAllmeeting"
        >
        </jgp-drop>
    </jgp-form>

    <jgp-div slot="2-1" _col="['*','*']"  _aux="false">
        <jgp-btn slot="1-1" _fn="addRelationTable">确认设置</jgp-btn>
    </jgp-div>
</jgp-div>
[/@JGP.body]

[@JGP.foot]
<script>
    function addRelationTable() {
        var addRelationTable=JGP.form("addRelationTable");
        addRelationTable.ajaxSubmit(function success(res) {
            if(res.flag==true){
                JGP.$alert("添加成功");
                JGP.form("addRelationTable").reset();
                JGP.$close(res.flag);
            }
        })
    }
</script>
[/@JGP.foot]